package com.xu.cloud.common.auth;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 用户认证授权上下文
 *
 * @author xuguan
 * @since 2025/1/10
 */
@Data
public class AuthContext implements Serializable {
    private static final long serialVersionUID = 4339314055228813072L;
    private Long userId;
    private List<String> roles;
    private List<String> permissions;
}
